namespace Kuiper.Startup
{
	internal static class Program
	{
		/// <summary>
		///  The main entry point for the application.
		/// </summary>
		[STAThread]
		static void Main()
		{
			try
			{
				KPSession.Init();

				Application.EnableVisualStyles();
				// To customize application configuration such as set high DPI settings or default font,
				// see https://aka.ms/applicationconfiguration.
				ApplicationConfiguration.Initialize();
				Application.Run(new StartupForm());
			}
			catch (Exception e)
			{
				MessageBox.Show(e.ToString(), "Kuiper MES", MessageBoxButtons.OK, MessageBoxIcon.Error);
			}
		}
	}
}